package com.iot.service;

import com.iot.domain.TeacherUser;
import com.iot.domain.TeacherUserVo;

public interface UserService {



    /*登录验证*/
    public TeacherUser login(TeacherUserVo user) throws Exception;


    /*注册用户*/
    public Boolean  register (TeacherUserVo teacherUser);


    /*根据手机号查询是否存在该用户*/
    public   TeacherUser  findUserByPhone(String phone);

    /*注销账户*/
    public  void  cancelUser(String phone);

}
